<?php

namespace app\admin\model;


use think\facade\Db;
use think\Model;

class GgoodsProp extends Model
{

    protected $table = 'ecm_goods_prop';

    public static function getGoodsPropSel($where,$whereOr)
    {

        $where[] = function ($query) use ($whereOr){
            $query->whereOr($whereOr);
        };

        $sel = GgoodsProp::where($where)
            ->select();

        return $sel->toArray();
    }

}